package org.benjamin.tenancy.service;

import java.util.List;

import org.benjamin.tenancy.domain.entity.Housing;
import org.benjamin.tenancy.domain.entity.Tenant;

/**
 * Created by xywenjie on 2017/4/11.
 */
public interface HousingService {
	
	List<Housing> findByHousingBuildingId(Integer buildingId);

	Housing findEntityById(Integer id);

	/**
	 * 入住操作
	 */
	void checkIn(Integer housingId,Tenant tenant);
}
